home *** CD-ROM | disk | FTP | other *** search
- AbsExecBase equ 4
-
- _LVOSetFunction equ -420 ; no need to include everything just for this one
-
- xdef @FindPatches
-
- section text,code
- @FindPatches: moveq.l #0,D0
- move.l (AbsExecBase).W,A0
- move.l _LVOSetFunction+2(A0),A0
- cmp.w #$49f9,$10(A0)
- bne 1$
- move.l $12(A0),A0
- move.l $4(A0),D0
- 1$ rts
-
- end
-